package com.mfangsoft.zhuangjialong.integration.customer.mapper;

import java.util.List;

import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;
import com.mfangsoft.zhuangjialong.integration.customer.model.CustomerSource;
@WriterRepository
public interface CustomerSourceMapper {
    /**
     * 通过主键删除  
     *
     * @MLTH_generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 插入数据  
     *
     * @MLTH_generated
     */
    int insert(CustomerSource record);

    int insertSelective(CustomerSource record);

    /**
     * 通过主键查询数据 
     *
     * @MLTH_generated
     */
    CustomerSource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CustomerSource record);

    /**
     * 通过主键更新数据  
     *
     * @MLTH_generated
     */
    int updateByPrimaryKey(CustomerSource record);

    /**
     * 消费者来源列表
     * @return
     */
	List<CustomerSource> selectCustomerSourceList();
}